package com.mmy.domain.permissionmenu;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the tConstRole database table.
 * 
 */
@Entity
@Table(name="tConstRole")
@NamedQuery(name="TConstRole.findAll", query="SELECT t FROM TConstRole t")
public class TConstRole  {
	
	private static final long serialVersionUID = 1L;

	private String cCreator;

	private String cMemo;

	private String cRoleName;
	
	private String cReviser;

	private String cSpare1;

	private String cSpare2;

	private String cSpare3;

	private String cSpare4;

	private String cSpare5;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dCreateDate;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dModifyDate;
	
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Id
	private int iRoleID;

	public TConstRole() {
	}


	public String getCreator() {
		return cCreator;
	}

	public void setCreator(String cCreator) {
		this.cCreator = cCreator;
	}

	public String getMemo() {
		return cMemo;
	}

	public void setMemo(String cMemo) {
		this.cMemo = cMemo;
	}

	public String getRoleName() {
		return cRoleName;
	}

	public void setRoleName(String cRoleName) {
		this.cRoleName = cRoleName;
	}

	public String getReviser() {
		return cReviser;
	}

	public void setReviser(String cReviser) {
		this.cReviser = cReviser;
	}

	public String getSpare1() {
		return cSpare1;
	}

	public void setSpare1(String cSpare1) {
		this.cSpare1 = cSpare1;
	}

	public String getSpare2() {
		return cSpare2;
	}

	public void setSpare2(String cSpare2) {
		this.cSpare2 = cSpare2;
	}

	public String getSpare3() {
		return cSpare3;
	}

	public void setSpare3(String cSpare3) {
		this.cSpare3 = cSpare3;
	}

	public String getSpare4() {
		return cSpare4;
	}

	public void setSpare4(String cSpare4) {
		this.cSpare4 = cSpare4;
	}

	public String getSpare5() {
		return cSpare5;
	}

	public void setSpare5(String cSpare5) {
		this.cSpare5 = cSpare5;
	}

	public Date getCreateDate() {
		return dCreateDate;
	}

	public void setCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	public Date getModifyDate() {
		return dModifyDate;
	}

	public void setModifyDate(Date dModifyDate) {
		this.dModifyDate = dModifyDate;
	}

	public int getRoleID() {
		return iRoleID;
	}

	public void setRoleID(int iRoleID) {
		this.iRoleID = iRoleID;
	}

	
	

}
